[gd_scene load_steps=18 format=2]

[ext_resource path="res://blokoj/gramofono/resursoj/bildoj/butono_fono1.png" type="Texture2D" id=1]
[ext_resource path="res://blokoj/gramofono/resursoj/bildoj/butono_fono2.png" type="Texture2D" id=2]
[ext_resource path="res://blokoj/gramofono/resursoj/bildoj/pauzo_v2.svg" type="Texture2D" id=3]
[ext_resource path="res://blokoj/gramofono/resursoj/bildoj/parolanto_v2.svg" type="Texture2D" id=4]
[ext_resource path="res://blokoj/gramofono/resursoj/bildoj/rotacio_0.svg" type="Texture2D" id=5]
[ext_resource path="res://blokoj/gramofono/resursoj/bildoj/rotacio_2.svg" type="Texture2D" id=6]
[ext_resource path="res://blokoj/gramofono/resursoj/bildoj/rotacio_1.svg" type="Texture2D" id=7]
[ext_resource path="res://blokoj/gramofono/resursoj/bildoj/butono_salti.svg" type="Texture2D" id=8]
[ext_resource path="res://blokoj/gramofono/scriptoj/parolanto.gd" type="Script" id=9]
[ext_resource path="res://blokoj/gramofono/scriptoj/pauzo.gd" type="Script" id=10]
[ext_resource path="res://blokoj/gramofono/scriptoj/reguligo_lauteco.gd" type="Script" id=12]
[ext_resource path="res://blokoj/gramofono/resursoj/muziko/Astral Electronic - Informed Decision + Rising.ogg" type="AudioStream" id=14]
[ext_resource path="res://blokoj/gramofono/scriptoj/play.gd" type="Script" id=15]

[sub_resource type="StyleBoxEmpty" id=1]

[sub_resource type="AnimatedTexture" id=2]
frames = 3
fps = 19.0
frame_0/texture = ExtResource( 5 )
frame_1/texture = ExtResource( 7 )
frame_1/delay_sec = 0.0
frame_2/texture = ExtResource( 6 )
frame_2/delay_sec = 0.0

[sub_resource type="GDScript" id=3]
script/source = "#disco
extends TextureButton

#при наведении стрелки мыши выключает отображение disco
#включает отображение pauzo
func _on_disco_mouse_entered():
	get_node(\"/root/Title/gramofono/regpanelo/fono/disco\").set_visible(false)
	get_node(\"/root/Title/gramofono/regpanelo/fono/pauzo\").set_visible(true)
"

[sub_resource type="StyleBoxEmpty" id=4]

[node name="gramofono" type="AudioStreamPlayer"]
stream = ExtResource( 14 )
autoplay = true

[node name="regpanelo" type="PanelContainer" parent="."]
anchor_top = 0.98
anchor_right = 0.032
anchor_bottom = 1.0
offset_left = 52.0
offset_top = -48.0001
offset_right = 77.032
offset_bottom = -20.0001
custom_minimum_size = Vector2( 84.232, 48 )
theme_override_styles/panel = SubResource( 1 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}

[node name="fono" type="TextureButton" parent="regpanelo"]
offset_right = 84.232
offset_bottom = 48.0
texture_normal = ExtResource( 1 )
__meta__ = {
"_edit_lock_": true
}

[node name="disco" type="TextureButton" parent="regpanelo/fono"]
anchor_left = 0.135
anchor_top = 0.23
anchor_right = 0.135
anchor_bottom = 0.23
offset_right = 27.0
offset_bottom = 27.0
custom_minimum_size = Vector2( 27, 27 )
mouse_default_cursor_shape = 2
texture_normal = SubResource( 2 )
script = SubResource( 3 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}

[node name="pauzo" type="TextureButton" parent="regpanelo/fono"]
visible = false
anchor_left = 0.135
anchor_top = 0.23
anchor_right = 0.135
anchor_bottom = 0.23
offset_right = 27.0
offset_bottom = 27.0
custom_minimum_size = Vector2( 27, 27 )
mouse_default_cursor_shape = 2
texture_normal = ExtResource( 3 )
script = ExtResource( 10 )
__meta__ = {
"_edit_lock_": true
}

[node name="parolanto" type="TextureButton" parent="regpanelo/fono"]
anchor_left = 0.553
anchor_top = 0.23
anchor_right = 0.553
anchor_bottom = 0.23
offset_right = 27.0
offset_bottom = 27.0
custom_minimum_size = Vector2( 27, 27 )
mouse_default_cursor_shape = 2
texture_normal = ExtResource( 4 )
script = ExtResource( 9 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}

[node name="play" type="TextureButton" parent="regpanelo/fono"]
visible = false
offset_left = 11.0
offset_top = 11.0001
offset_right = 38.0
offset_bottom = 38.0001
custom_minimum_size = Vector2( 27, 27 )
mouse_default_cursor_shape = 2
texture_normal = ExtResource( 8 )
script = ExtResource( 15 )
__meta__ = {
"_edit_lock_": true
}

[node name="volumeno" type="PanelContainer" parent="."]
visible = false
anchor_top = 0.98
anchor_right = 0.032
anchor_bottom = 1.0
offset_left = 52.0
offset_top = -48.0
offset_right = 84.8
offset_bottom = -16.0
theme_override_styles/panel = SubResource( 4 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}

[node name="fono_volumeno" type="TextureButton" parent="volumeno"]
offset_right = 84.0
offset_bottom = 48.0
texture_normal = ExtResource( 2 )
__meta__ = {
"_edit_lock_": true
}

[node name="reguligo_lauteco" type="HSlider" parent="volumeno/fono_volumeno"]
offset_left = 11.0
offset_top = 11.0
offset_right = 74.0
offset_bottom = 38.0
mouse_default_cursor_shape = 2
min_value = -50.0
max_value = 3.0
step = 0.5
value = -12.0
script = ExtResource( 12 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[connection signal="mouse_entered" from="regpanelo/fono/disco" to="regpanelo/fono/disco" method="_on_disco_mouse_entered"]
[connection signal="mouse_exited" from="regpanelo/fono/pauzo" to="regpanelo/fono/pauzo" method="_on_pauzo_mouse_exited"]
[connection signal="pressed" from="regpanelo/fono/pauzo" to="regpanelo/fono/pauzo" method="_on_pauzo_pressed"]
[connection signal="pressed" from="regpanelo/fono/parolanto" to="regpanelo/fono/parolanto" method="_on_parolanto_pressed"]
[connection signal="pressed" from="regpanelo/fono/play" to="regpanelo/fono/play" method="_on_play_pressed"]
[connection signal="mouse_exited" from="volumeno/fono_volumeno/reguligo_lauteco" to="volumeno/fono_volumeno/reguligo_lauteco" method="_on_reguligo_lauteco_mouse_exited"]
[connection signal="value_changed" from="volumeno/fono_volumeno/reguligo_lauteco" to="volumeno/fono_volumeno/reguligo_lauteco" method="_on_reguligo_lauteco_value_changed"]
